-
Notifications
You must be signed in to change notification settings - Fork 108
RHOAIENG-21691: mitigate undesirable /opt/app-root
ownership and permissions change caused by a Dockerfile COPY
#986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RHOAIENG-21691: mitigate undesirable /opt/app-root
ownership and permissions change caused by a Dockerfile COPY
#986
Conversation
…rmissions change caused by a Dockerfile `COPY` Before: ``` podman run --entrypoint /bin/bash --rm -it 7616b6ee0ff8 -c 'ls -AlFd $VIRTUAL_ENV' drwxrwxr-x. 1 default root 40 Mar 16 09:57 /opt/app-root/ ``` The Dockerfile command causing trouble: ``` USER 0 # Copy extra files to the image. COPY ${RSTUDIO_SOURCE_CODE}/nginx/root/ / ``` After: ``` podman run --entrypoint /bin/bash --rm -it 237a5692c108 -c 'ls -AlFd $VIRTUAL_ENV' drwxr-xr-x. 1 root root 38 Mar 14 14:16 /opt/app-root/ ```
/lgtm built locally:
perms check out:
|
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jiridanek The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/override ci/prow/rstudio-notebook-e2e-tests |
@jiridanek: Overrode contexts on behalf of jiridanek: ci/prow/rstudio-notebook-e2e-tests In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
2c18a50
into
opendatahub-io:main
…lux/component-updates/component-update-odh-workbench-jupyter-pytorch-rocm-py311-ubi9-n-v2-23 chore(deps): update odh-workbench-jupyter-pytorch-rocm-py311-ubi9-n-v2-23 to 327828d
uv pip install
insists on creating a .lock file in the current venv whilepip install
does not need this astral-sh/uv#12200 (comment)Description of the bug
Before:
The Dockerfile command causing trouble:
After:
Description of the fix
How Has This Been Tested?
micropipenv
withuv
for faster package installs #968Merge criteria: